﻿using System.Windows;
using System.Windows.Controls;
using GSSoftSL.Web.Models;
using GSSoftSL.Web.Services;

namespace GSSoftSL.Views
{
    /// <summary>
    /// Description for TruongEditView.
    /// </summary>
    public partial class TruongEditView : ChildWindow
    {
        //private GSSoftContext _dc;
        //private Truong _truong;

        /// <summary>
        /// Initializes a new instance of the TruongEditView class.
        /// </summary>
        public TruongEditView()
        {
            InitializeComponent();
            //dataForm.CurrentItem = null;
            //dataForm.add
        }

        private void ChildWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            //this.Visibility = Visibility.Collapsed;
            //e.Cancel = true;
        }

        /*public TruongEditView(GSSoftContext context)
        {
            InitializeComponent();
            _dc = context;
        }

        public TruongEditView(GSSoftContext context, Truong truong)
        {
            InitializeComponent();
            _dc = context;
            _truong = truong;
        }*/
    }
}